package cn.yaboya.feign;

import cn.yaboya.domain.User;
import org.springframework.stereotype.Component;

@Component
public class fallBackMethod implements FeignClientTest{
    @Override
    public User getById(Long id) {
        return new User(-1L,"无此用户","无此用户");
    }
}
